package com.sandau.basic.vo;

import com.sandau.basic.global.GlobalEnum;

public class BasicMsg {
    private GlobalEnum.OperateResult operateResult = GlobalEnum.OperateResult.FAIL;
    private String errorMsg = "";
    private GlobalEnum.ErrorCode errorCode = GlobalEnum.ErrorCode.UNKNOWN_ERROR;
    public void setErrorMsg(String errorMsg) {this.errorMsg = errorMsg;}
    public String getErrorMsg() {return this.errorMsg;}
    public GlobalEnum.OperateResult getOperateResult() {return this.operateResult;}
    public void setErrorCode(GlobalEnum.ErrorCode errorCode) {this.errorCode = errorCode;}
    public void setOperateResult(GlobalEnum.OperateResult operateResult) {
        this.operateResult = operateResult;
    }
    public GlobalEnum.ErrorCode getErrorCode() {return this.errorCode;}
}